package org.dong.base.thread;

public class ThreadA extends Thread {
    @Override
    public void run() {
        super.run();
        try {
            Thread.sleep(5000);
        } catch (InterruptedException e) {
            e.printStackTrace();
        }
        System.out.println("使用继承的方式创建了线程");
    }
}
